package com.server.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.mapper.OsaUserOrderInfoMapper;
import com.server.model.OsaUserOrderInfos;
import com.server.service.IOsaUserOrderInfosService;

@Service
@Transactional
public class OsaUserOrderInfosServiceImpl implements IOsaUserOrderInfosService {

	@Autowired
	private OsaUserOrderInfoMapper orderInfoMapper;
	
	@Override
	public int insertUserOrderInfo(OsaUserOrderInfos osaUserOrderInfos) {
		// TODO Auto-generated method stub
		return orderInfoMapper.insertUserOrderInfo(osaUserOrderInfos);
	}

	@Override
	public OsaUserOrderInfos selectUserOrderInfoByOrderNum(String orderNum) {
		// TODO Auto-generated method stub
		return orderInfoMapper.selectUserOrderInfoByOrderNum(orderNum);
	}

}
